package com.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author linyukun
 * @date 2022/7/7 18:45
 */
@Data
@ApiModel(value = "PageDTO", description = "分页入参")
public class PageDTO {
    /** 当前页数*/
    @ApiModelProperty(value = "当前页数", example = "1")
    private int pageNum;

    /** 每页条数*/
    @ApiModelProperty(value = "每页条数" ,example = "10")
    private int pageSize;

    /** 每页条数*/
    @ApiModelProperty(value = "总记录数" )
    private long total;
}
